package com.ym.medical.dao;

import com.ym.medical.domain.entity.YunxinUserEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 云信Dao接口
 *
 * @author ym
 * @date 2020-08-17
 */
@Repository
public interface YunxinUserDao extends Mapper<YunxinUserEntity>{


	/**
	 * 医生和当前患者的云信账号
	 * @param doctId
	 * @param userId
	 * @return
	 */
	List<YunxinUserEntity> selectYunXinId(@Param("doctId") Long doctId, @Param("userId") Long userId);
}
